package com.tuozixuan.camel.step;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class StepDemoRoute extends RouteBuilder {

	@Override
	public void configure() {
	    
//	    from("timer:firedOnceTimer?repeatCount=1").setBody().constant("StepDemoRoute")
//	        .step()
//	            .transform(simple("${body}A"))
//	            .to("log:StepDemoLog")
//	         .end()
//	         .step()
//	             .to("log:StepDemoLog1")
//	         .end();
	}

}
